package com.base.taskreports.reports.dao.jfs;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.base.taskreports.reports.entiyt.jfs.TblChaccCommPriAcctInfEntity;
import com.base.taskreports.reports.entiyt.jfs.TblCqpntPointInFlowEntity;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 张玉涛
 * @since 2021-11-09
 */
@Mapper
public interface TblChaccCommPriAcctInfDao extends BaseMapper<TblChaccCommPriAcctInfEntity>{

	List<TblChaccCommPriAcctInfEntity> selectSingleUserCurrency(
			@Param(value = "list") List<TblCqpntPointInFlowEntity> selectFloatingRateOfNonMonetaryPoints);

	Integer countTblCqpntPointInFlow();

	List<TblChaccCommPriAcctInfEntity> selectTheTopFiftySingleUserCurrencyScoreBalanceNFloatingRatio(
			@Param(value = "list")  List<TblCqpntPointInFlowEntity> selectFloatingRateOfNonMonetaryPoints);

	List<TblChaccCommPriAcctInfEntity> selectTheTopFiftyTheCreditBalanceNegativeQuantity(String dateTime);
}